package com.hw.shortlink.project.service;

import lombok.SneakyThrows;

public interface URLInfoService {

    /**
     * 获取网站的标题
     * @param url
     * @return
     */
    @SneakyThrows
    String getTitleByUrl(String url);

    @SneakyThrows
    String getFavicon(String url);
}
